//
//  WBBaseViewController.h
//  TransWB
//
//  Created by 孝飞王 on 2016/12/27.
//  Copyright © 2016年 孝飞王. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WBVisitorView.h"
@interface WBBaseViewController  : UIViewController <UITableViewDataSource,UITableViewDelegate>{
    
    BOOL isLogin;
    BOOL isPull;
    
}
//访客视图
@property (nonatomic,strong) WBVisitorView *visitorView;
@property (nonatomic,copy)NSDictionary *dataDic;

@property (nonatomic,strong)UINavigationBar*navBar;
@property (nonatomic,strong)UINavigationItem *navItem;

//表格视图
@property (nonatomic,strong)UITableView *baseTabaleView;
@property (nonatomic,strong)NSMutableArray *dataSourceArray;

//刷新视图
@property (nonatomic,strong)UIRefreshControl *refreshControl;


/**
     加载数据  子类需要实现
 */
- (void)loadData;


///**
//     监听的登录按钮的方法
// */
//- (void)compauseLogin;
//
//
///**
//    监听的注册的按钮
// */
//- (void)compauseRegester;
//



/**
    创建表格视图
 */
- (void)setUpTabelView;
@end
